package com.jams.goodox.activity.mine.ox;

import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.view.View;
import android.widget.TextView;

import com.jams.goodox.BaseActivity;
import com.jams.goodox.R;
import com.jams.goodox.SePref;
import com.jams.goodox.utils.StatusBarCompat;
import com.jams.goodox.utils.StyleUtil;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by Administrator on 2018/5/27.
 */

public class OxBi extends BaseActivity {
    @Bind(R.id.tx_ye)
    TextView txYe;
    @Bind(R.id.tx_cz)
    TextView txCz;
    @Bind(R.id.tx_money)
    TextView tx_money;

    @Override
    protected int getLayoutId() {
        return R.layout.ox_activity;
    }

    @Override
    protected void init() {
        StatusBarCompat.compat(this, ContextCompat.getColor(this, R.color.main_theme));//沉侵式头部
        StyleUtil.titleBackKeyWithRightTextViewListener(this, "我的氧币", "详情", new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qStartActivity(OxRecordActivity.class);
            }
        });
        tx_money.setText(SePref.getCommunityName()+"氧币");
    }

    @OnClick(R.id.tx_cz)
    public void onClick() {
        qStartActivity(OXInActi.class);
    }
}
